//
//  Account.h
//  微博2期
//
//  Created by J on 15/11/27.
//
//

#import <Foundation/Foundation.h>

@interface Account : NSObject<NSCoding>
@property(nonatomic,copy)NSString* access_token;//接口获取授权后的 access token
/**
 *  过期时间
 */
@property(nonatomic,copy)NSNumber* expires_in;
@property(nonatomic,copy)NSString* uid;//当前用户UID


/**
 *  token获得时间
 */
@property(nonatomic,strong)NSDate* create_time;
/**
 *  用户昵称
 */
@property(nonatomic,strong)NSString* name;

+ (instancetype)accountWithDic:(NSDictionary*)dic;
@end
